﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KohvikRax.Resources.Src
{
    public static class Extensions
    {
        public static bool Has<T>(this System.Enum type, T value)
        {
            return (((int)(object)type & (int)(object)value) == (int)(object)value);
        }
    }
}
